package com.rykj.energy.task.message.handle.impl;

import com.rykj.energy.database.pojo.MessageResult;
import com.rykj.energy.task.message.dto.MessageHeader;
import com.rykj.energy.task.message.handle.ITaskMessageHandle;
import org.springframework.stereotype.Service;

/**
 *漏水识别
 */
@Service("lssb")
public class LouShuiHandle implements ITaskMessageHandle {

    @Override
    public MessageResult handleMessage(MessageResult msgResult, MessageHeader header) {
        msgResult.setContent(header.getResult().toString());
        return msgResult;
    }
}
